import request from '@/utils/request'
export function getBrandList(data) {
    return request({
        url: '/General/get_brand_second',
        method: 'post',
        data: data
    })
}
export function store(data) {
    return request({
        url: "/General/get_store",
        method: "post",
        data: data
    })
}
// 购物车门店
export function carStore() {
    return request({
        url: "/House_transfer/get_all_storeid",
        method: "post",
        data: {}
    })
}
// 列表
export function getList(data, page) {
    return request({
        url: '/House_transfer/gift_list/' + (page ? page : 1),
        method: 'post',
        data: data
    })
}
// 获取分页
export function getPage(data) {
    return request({
        url: '/House_transfer/gift_page',
        method: 'post',
        data: data
    })
}
export function addcar_submit(data) {
    return request({
        url: '/House_transfer/add_gift_to_cart',
        method: 'post',
        data: data
    })
}
//获取类别
export function get_type(data) {
    return request({
        url: '/Gift_type/index',
        method: 'post',
        data: data
    })
}
//获取尺寸
export function get_size() {
    return request({
        url: '/Gift_size/index',
        method: 'post',
        data: ''
    })
}
export function car(data) {
    return request({
        url: '/House_transfer/transport_cart_gift',
        method: 'post',
        data: data
    })
}
export function delGift(data) {
    return request({
        url: '/House_transfer/del_gift_from_cart',
        method: 'post',
        data: data
    })
}
export function delCarList(data) {
    return request({
        url: '/House_transfer/clean_cart_gift',
        method: 'post',
        data: data
    })
}
// 提交
export function save(data) {
    return request({
        url: '/House_transfer/create_transfer_order',
        method: 'post',
        data: data
    })
}